import Vue from "vue";
import svgIcon from './svgIcon.vue'
Vue.component('svgIcon',svgIcon)

// 图片解析
const req = require.context('./svg',false,/\.svg$/)
const requireAll = (requireContext) => {
    console.log(requireContext.keys().map(requireContext));
    return requireContext.keys().map(requireContext)
}
requireAll(req)